<?php use_helper('I18N') ?>

<form action="<?php echo url_for('@sf_guard_signin') ?>" method="post">
    <table>
        <tbody>
            <?php echo $form ?>
        </tbody>
        <tfoot>
            <tr>
                <td colspan="2"><br>
                    <div align="center"><button class="buttonmedium button-red" type="submit">Ingresar</button></div><br>
                    <div align="right">
                        <?php $routes = $sf_context->getRouting()->getRoutes() ?>
                        <?php if (isset($routes['sf_guard_forgot_password'])): ?>
                            <div id="margenolvidoContra"><a href="<?php echo url_for('@sf_guard_forgot_password') ?>"><?php echo __('Olvido su Contrase&ntilde;a?', null, 'sf_guard') ?></a></div><br><br>
                        <?php endif; ?>

                     </div>
                </td>
            </tr>
        </tfoot>
    </table>
</form>